package com.ruoyi.work.mapper;


import com.ruoyi.work.domain.Product;
import com.ruoyi.work.query.ProductQuery;

import java.util.List;

public interface ProductMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int updateByPrimaryKey(Product record);

    List<Product> selectForList(ProductQuery qo);

}